<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello Vuejs</title>
</head>
<body>
<!--3.展示数据-->
<div id="app">

    <h1>{{ message }}</h1>
    <h2>{{ message2 }}</h2>
</div>
{{ message3 }}
</body>
<!--1.引入Vuejs模块-->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
/*2.编写script模块下的Vue代码*/
    var app = new Vue({
        el: '#app',
        data: {
            message: 'Hello Vue!',
            message2: '小白IT梦',
            message3: '程序猿'
        }
    })
</script>
</html>